package com.woniu.venue.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 杜岷芫
 * @since 2024年07月12日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("coach_enter")
public class CoachEnter implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 教练入驻申请id
     */
    @TableId(value = "enter_id", type = IdType.AUTO)
    private Integer enterId;

    /**
     * 教练id
     */
    @TableField("coach_id")
    private Integer coachId;

    /**
     * 场馆id
     */
    @TableField("venue_id")
    private Integer venueId;

    /**
     * 1申请中 2成功 3驳回
     */
    @TableField("enter_state")
    private Integer enterState;

    /**
     * 申请时间
     */
    @TableField("create_time")
    private String createTime;

    /**
     * 处理时间
     */
    @TableField("deal_time")
    private String dealTime;

    /**
     * 被驳回原因
     */
    @TableField("rejection_reason")
    private String rejectionReason;

    /**
     * 详情
     */
    @TableField(value = "coach_enter_desc",typeHandler = JacksonTypeHandler.class)
    private String coachEnterDesc;


}
